package com.tourManagement.service;

import com.tourManagement.entity.Sight;

import java.sql.SQLException;
import java.util.List;

public interface SightService {
    List<Sight> getAll() throws SQLException;//获取景点列表
    int update(Sight data) throws SQLException;//更新景点信息
    int insert(Sight data) throws SQLException;//添加景点信息
    List<Sight> selectOne(Integer id) throws SQLException;//查询某一个
    int delete(Integer id) throws SQLException;//更新景点信息
}
